#include "dominion.h"
#include <stdio.h>
#include <assert.h>
#define NUMTEST 10
#define RDMSEED 20
#define PLAYERS 1
//This is a random test generator dominion game

int main () {
  struct gameState *game = newGame();
  int randCard = rand() % 27; //Random number in range 0 - 26
  int randPlayers = (rand() % 2); //Random number in range 0 - 1
  initializeGame(randPlayers, randCard, RDMSEED, game); //Initialize new game state
 
 }
  
int getRandCard(int randCard){
  switch(randCard){
  case 0:
  	  return curse;
  case 1:
	  return estate;
  case 2:
	  return duchy;
  case 3:
	  return province;
  case 4:
	  return copper;
  case 5:
	  return silver;
  case 6:
	  return gold;
  case 7:
	  return adventurer;
  case 8:
	  return council_room;
  case 9:
	  return feast;
  case 10:
	  return gardens;
  case 11:
	  return mine;
  case 12:
	  return remodel;
  case 13:
	  return smithy;
  case 14:
	  return village;
  case 15:
	  return baron;
  case 16:
	  return great_hall;
  case 17:
	  return minion;
  case 18:
	  return steward;
  case 19:
	  return tribute;
  case 20:
	  return ambassador;
  case 21:
	  return cutpurse;
  case 22:
	  return embargo;
  case 23:
	  return outpost;
  case 24:
	  return salvager;
  case 25:
	  return sea_hag;
  case 26:
	  return treasure_map;
  }
  
  //Looked at lecture slides for examples on this random generator code
  for(n=0;n<10;n++){
	  int kingdom_cards[NUMTEST] = {getRandCard()}
  }

  shuffle(randPlayers, game);
}
